package com.openbravo.pos.payment;

public class PaymentPanelFac
{
  public static PaymentPanel getPaymentPanel(String paramString, JPaymentNotifier paramJPaymentNotifier)
  {
    if ("Intelligent".equals(paramString))
      return new PaymentPanelMagCard(new MagCardReaderIntelligent(), paramJPaymentNotifier);
    if ("Generic".equals(paramString))
      return new PaymentPanelMagCard(new MagCardReaderGeneric(), paramJPaymentNotifier);
    if ("Alternative".equals(paramString))
      return new PaymentPanelMagCard(new MagCardReaderAlternative(), paramJPaymentNotifier);
    if ("Keyboard".equals(paramString))
      return new PaymentPanelType(paramJPaymentNotifier);
    return new PaymentPanelBasic(paramJPaymentNotifier);
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.payment.PaymentPanelFac
 * JD-Core Version:    0.6.0
 */